home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / 80X86 / FMOUSE12.ZIP / FMOUSE12.DOC < prev    next >
Encoding:
Text File  |  1996-11-11  |  3.2 KB  |  62 lines

  1.  ┌─────────────────────────────────────────────────────────────────────────┐
  2.  │       NICE & FAST MOUSE for mode 12h (640 x 480 in 16 colours)          │▒
  3.  │               routines in Turbo Assembler for a real mode               │▒
  4.  │                      by Holy Drake / The Guardians                      │▒
  5.  │                               version 1.01                              │▒
  6.  │  original idea of setting a new mouse handler is taken from XLIB.MOUSE  │▒
  7.  │          Turbo Pascal unit by Themie Gouthas & Christian Harms          │▒
  8.  └─────────────────────────────────────────────────────────────────────────┘▒
  9.   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10.  
  11.  
  12.  
  13.      Hello Asm Coders !  Here it is - a mouse library. You may ask "Again?
  14.   Nobody  wants  it!".  You are wrong, because this unit is a special one!
  15.   It's  very  fast:  cursor  doesn't  flicks  on  any PC 286 on slow video
  16.   cards  (you  know  what is 12h mode, and how slow it is). So, if you are
  17.   a  disk  mag  coder  and you like nice high resolution you should use my
  18.   routines!  The  routines work also in other 16 colours modes. If you own
  19.   the  old  version  of  this library you've got to delete it. Old version
  20.   had a one stupid bug...
  21.  
  22.      This  library  is  a  freeware / public  domain one. You can (should)
  23.   copy and distribute it without any special payment!
  24.  
  25.    Here is the list of the procedures:
  26.  
  27.           HideMouse - Make mouse cursor invisible
  28.           ShowMouse - Make him visible
  29.       SetMouseSpeed - Set the speed of the mouse cursor
  30.                     - Put horizontal (X) speed in CX
  31.                       and vertical (Y) speed in DX
  32.         MyMouseInit - Initialization of the handler !
  33.                     - That's a first procedure you should execute !
  34.      SetMouseWindow - Set the size of the mouse window
  35.                     - Put parameters on the stack (x1,y1,x2,y2)
  36.      MyMouseDestroy - Restore old mouse handler (kill new mouse handler)
  37.         SetMousePos - Set the cursor position on the screen
  38.                     - Put X position in CX and Y position in DX
  39.      HideUntilMoved - Hide the mouse cursor till somebody move a mouse
  40.        DefineCursor - Set an address where the shape of the cursor is stored
  41.                     - Remember to hide a cursor first
  42.     IsThereAnyMouse - Return 0FFh in AL if mouse driver installed
  43.  
  44.  
  45. HEY! THIS UNIT IS DEDICATED TO ALL LAZY CODERS WHO HATE GRAPHIC MODE 12h.
  46. I LOVE THIS MODE!
  47.  
  48.  
  49.       ┌────┐
  50.      ┌┘████└┐        ┌──┐         ┌──────────────────┐        ┌──────┐
  51.     ┌┘██  ██└──┐┌──┐┌┘██└┐┌───────┘█████   ████  ████└───┐  ┌─┘ █████└┐
  52.     │██      ██││██└┘████└┘██████   ██ ██   ██  ██  ██ ██└┐┌┘█ ██   ██│
  53.     │██      ██││██ ██  ██  ██  ██  ██  ██  ██  ██████ ███└┘██ ███   █│
  54.     │██  ███ ██└┘██ ██████  █████   ██ ██   ██  ██┌┐██ ████ ██  ████ ─┤
  55.     └┐██  ██ ██  ██ ██┌┐██  ██ ██  █████┌─┐ ██  ██││██ ██ ████ █   ███│
  56.      └┐███ █┌┐████┌┐█┌┘└┐█  ██┌┐██┌─────┘ │ ██ ┌──┘└──┐██┌┐███ ██smn██│
  57.       └─────┘└────┘└─┘  └─┐██┌┘└┐█│       │████│      │██│└┐██  █████┌┘
  58.                           └──┘  └─┘       └────┘      │█┌┘ │██ ┌─────┘
  59.                                                       └─┘  └───┘
  60.  
  61.   All suggestions send to: hdrake@aurora.put.poznan.pl
  62.